package com.ljf.authority.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * API列表定义  authority_base_api_tabulation  请求方法  method  枚举
 *
 * @author LJF
 * @since 2024-10-25
 */
@Getter
@AllArgsConstructor
public enum AuthorityBaseApiTabulationMethodEnum implements BasicEnum {

    POST(1, "POST", "post"),
    DELETE(2, "DELETE", "delete"),
    PUT(3, "PUT", "put"),
    GET(4, "GET", "get");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

    @JsonProperty("codeSign")
    @ApiModelProperty(value = "编码标志")
    private final String codeSign;

}
